package com.iot.modbus.event.pojo;

import java.util.Date;

public class MetricMessage {
    /**
     * 指标id
     */
    private String metricId;

    /**
     * 指标名称
     */
    private String metricName;

    /**
     * 指标单位
     */
    private String metricUnit;

    /**
     * 指标值
     */
    private String value;

    /**
     * 时间戳
     */
    private Date timestamp;

    public String getMetricId() {
        return metricId;
    }

    public void setMetricId(String metricId) {
        this.metricId = metricId;
    }

    public String getMetricName() {
        return metricName;
    }

    public void setMetricName(String metricName) {
        this.metricName = metricName;
    }

    public String getMetricUnit() {
        return metricUnit;
    }

    public void setMetricUnit(String metricUnit) {
        this.metricUnit = metricUnit;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public Date getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Date timestamp) {
        this.timestamp = timestamp;
    }
}
